home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / liblouis / tables / nemeth.ctb < prev    next >
Text File  |  2009-08-24  |  4KB  |  198 lines

  1. # liblouis: Nemeth Table for mathematics
  2. #
  3. #  Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by
  4. #  The BRLTTY Team
  5. #
  6. #  Copyright (C) 2004, 2005, 2006
  7. #  ViewPlus Technologies, Inc. www.viewplus.com
  8. #  and
  9. #  JJB Software, Inc. www.jjb-software.com
  10. #  All rights reserved
  11. #
  12. #  This file is free software; you can redistribute it and/or modify it
  13. #   under the terms of the Lesser or Library GNU General Public License 
  14. #  as published by the
  15. #  Free Software Foundation; either version 3, or (at your option) any
  16. #  later version.
  17. #  This file is distributed in the hope that it will be useful, but
  18. #  WITHOUT ANY WARRANTY; without even the implied warranty of
  19. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
  20. #  Library GNU General Public License for more details.
  21. #
  22. #  You should have received a copy of the Library GNU General Public 
  23. #  License along with this program; see the file COPYING.  If not, write 
  24. #  to
  25. #  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
  26. #  Boston, MA 02110-1301, USA.
  27. #
  28. #  Maintained by John J. Boyer john.boyer@jjb-software.com
  29. # Updated 6-18-08 by Mike Sivill <mike.sivill@viewplus.com>
  30.  
  31. include chardefs.cti All character definition opcodes
  32. include nemethdefs.cti
  33.  
  34. # Braille indicators
  35. multind 56-6 letsign capsign
  36. capsign 6
  37. begital 46
  38. endital 46-46
  39. begbold 456
  40. endbold 456-456
  41. begcomp 456-346
  42. endcomp 456-156
  43.  
  44. # Letters are defined in en-chardefs
  45. # punctuation
  46.  
  47. prepunc " 236
  48. postpunc " 356
  49. prepunc ' 6-236
  50. postpunc ' 356-3
  51. postpunc , 6
  52. always , 6-a
  53. always # 35-2345 print number sign before number
  54. decpoint . 46
  55. hyphen - 36
  56. postpunc . 456-256
  57. endnum . 456-256
  58. always . 256
  59. postpunc ; 456-23
  60. postpunc : 456-25
  61. always ! 12346 factorial
  62. always < a-5-13-a
  63. always = a-46-13-a
  64. always > a-46-2-a
  65. postpunc ? 456-236
  66. endnum % 4-356
  67. always ~~ 4-156-5-4-156
  68. always ~ 4-156
  69. always & 456-12346
  70. midnum * 4-16
  71. always [ 4-12356
  72. always ] 4-23456
  73. always { 46-12356
  74. always } 46-23456
  75. always @ 4-1
  76. always \\ 456-16
  77. always | 1256
  78. always $ 4-234
  79. repeated \s 0
  80. context ["\X25A1"]$d @1246-256-5
  81. context ["\X25A0"]$d @1246-456-256-5
  82. always \x00b0 45-46-16
  83. always \x00B1 346-36
  84.  
  85. # semantic character pairs
  86. always ^, 6
  87. always ^; 56
  88. always ^: 156
  89. always ^. 46
  90. always ^! 2346
  91. always ^" 5
  92. always ^' 3
  93. always ^( 12356
  94. always ^) 23456
  95. always ^- 36
  96. always ^_ 456
  97. always ^< 126
  98. always ^= 123456
  99. always ^> 345
  100. always ^% 146
  101. always ^+ 346
  102. always ^~ 45
  103. always ^` 4
  104. always ^& 12346
  105. always ^$ 1246
  106. always ^? 1456
  107. always ^{ 246
  108. always ^} 12456
  109. always ^# 3456
  110. always ^| 1256
  111. always ^/ 34
  112. always ^* 16
  113. repeated ^1 a
  114.  
  115. # Function names and abbreviations
  116. word arc =
  117. word arg =
  118. word cosh =
  119. word coth =
  120. word covers =
  121. word erf =
  122. word inf =
  123. word min =
  124. word sech =
  125. word arccos =
  126. word sin =
  127. word sinh =
  128. word vers =
  129.  
  130.  
  131.  
  132. # computer braille character sequences
  133. compbrl :// URLs
  134. compbrl www.
  135. compbrl .com
  136. compbrl .edu
  137. compbrl .gov
  138. compbrl .mil
  139. compbrl .net
  140. compbrl .org
  141. compbrl .doc
  142. compbrl .htm
  143. compbrl .html
  144. compbrl .tex
  145. compbrl .txt
  146. compbrl .gif
  147. compbrl .jpg
  148. compbrl .png
  149. compbrl .wav
  150. compbrl .tar
  151. compbrl .zip
  152.  
  153. # pass 2 corrections
  154.  
  155. # get rid of base-line ind. after subscripts
  156. pass2 @56[$d1-5]@5!$d *
  157. # insert another superscript ind. on doube superscripts
  158. pass2 @45[]$d@5-5 @45
  159. #get rid of extra baseline inds.
  160. pass2 @5-5 @5 pass2 @5-0 @0 pass2 @5-a @a pass2 @5-1b-15 @1b-15
  161. # get rid rid of superscript ind. on prime sign
  162. pass2 @45-3-5 @3
  163. # Put 456 in mixed numbers
  164. pass2 $d[]@1456 @456
  165. pass2 @456-1456!$s3-8[]@3456 @456
  166. # Put number sign on numbers after spaces
  167. pass2 @a[]$d @3456
  168. pass2 @0[]$d @3456
  169. pass2 @1b-12[]$d @3456
  170. pass2 @a-0 @a
  171. # fix anomaly with superscripts
  172. pass2 @45-0-5 @45
  173. pass2 @45-5 @45
  174. # Fix single letter and digit with overbar
  175. pass2 @5$l[@126-12456] @156
  176. pass2 @5-6$l[@126-12456] @156
  177. pass2 [@5]!$s@156 @a
  178. pass2 @46-a @456-256
  179. # get rid of space for overscripts 
  180. pass2 @126-a @126
  181. pass2 @146-a @146
  182. pass2 @0-146 @146
  183. pass2 @a-146 @146
  184. pass2 @a-12456 @12456
  185. # fix complex fraction begin and end (not perfectly)
  186. pass2 @1456-1456 @6-1456-1456
  187. pass2 @3456-3456 @3456-6-3456
  188. # Fix lim with overbar sign
  189. pass2 @5-123-24-134-126-12456 @126-123-24-134
  190. # Get rid of open paren before matrices
  191. pass2 @12356-4-6-12356 @4-6-12356
  192. pass2 @1256-4-6-12356 @4-6-12356
  193. # take off baseline ind. comma space
  194. pass2 [@5-6]!$l @6
  195. pass2 @1b-12[]$d @3456 number sign before digit at beginning
  196.  
  197.